package com.rpay.dao.mapper;

import com.rpay.common.dto.user.UserTradeDTO;
import com.rpay.dao.util.MyMapper;
import com.rpay.model.user.UserTradeDO;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.BaseMapper;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

@Repository
public interface UserTradeDOMapper extends MyMapper<UserTradeDO> {
    List<UserTradeDTO> selectUserTradeList(Map param, RowBounds rowBounds);
    List<UserTradeDTO> selectInAndOutTradeList(Map param, RowBounds rowBounds);

    int selectUserTradeCount(Map param);
    int selectInAndOutTradeCount(Map param);
}